package com.chushouya.product.dto.api.evaluate;

import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
public class PriceCalculationResult {
    
    /**
     * 最终价格
     */
    private BigDecimal finalPrice;
    
    /**
     * 评估规则列表
     */
    private List<EvaluateRuleDTO> evaluateRules;
    
    public PriceCalculationResult() {
    }
    
    public PriceCalculationResult(BigDecimal finalPrice, List<EvaluateRuleDTO> evaluateRules) {
        this.finalPrice = finalPrice;
        this.evaluateRules = evaluateRules;
    }
}
